package com.dao.database;

import java.util.HashMap;

import org.apache.log4j.Logger;

public class StockObject extends PredictableObject {
	
	private final static Logger LOGGER = Logger.getLogger(StockObject.class
			.getName());
	private int stockObjId;
	private String stockObjTicker;
	private String stockObjName;
	private String stockObjCountry;
	private String stockObjType;
	protected StockObject(int objId, String objName,String type,HashMap<String, Variable> variableMap,int stockObjId,String stockObjTicker,String stockObjName,
			String stockObjCountry,String stockObjType){
		super(objId, objName,  type, variableMap);
		LOGGER.trace("constructor: StockObject("+objId+","+objName+","+variableMap+","+stockObjId+","+
		stockObjTicker+","+stockObjName+","+ stockObjCountry+","+stockObjType+") ");
		this.stockObjId=stockObjId;
		this.stockObjTicker=stockObjTicker;
		this.stockObjName=stockObjName;
		this.stockObjCountry=stockObjCountry;
		this.stockObjType=stockObjType;
	}
	public int getStockObjId() {
		LOGGER.trace("getStockObjId()");
		return stockObjId;
	}
	public String getStockObjTicker() {
		LOGGER.trace("getStockObjTicker()");
		return stockObjTicker;
	}
	public String getStockObjName() {
		LOGGER.trace("getStockObjName()");
		return stockObjName;
	}
	public String getStockObjCountry() {
		LOGGER.trace("getStockObjCountry()");
		return stockObjCountry;
	}
	public String getStockObjType() {
		LOGGER.trace("getStockObjType()");
		return stockObjType;
	}
}
